<?php


$header .= ''.$GLOBALS['SITE_NAME'].'';

/*
**	L O G I N
**	    T O O L B O X
*/

	// If logged in
	if(isset($m_username)){
//		$m_name = '<fb:name uid="loggedinuser" linked="false" useyou="false" capitalize="true"></fb:user-status>';
		$personal .= '
					<P>Welcome '.$m_name.'!</P>
					<ul>
					<li><a href="'.$addr.'/home.php"><img src="'.$addr.'/imgs/home.gif" /> Home</a></li>
					<li><a href="'.$addr.'/profile.php?id='.$m_user_id.'"><img src="'.$addr.'/imgs/page_boy.gif" /> My Profile</a></li>
					<li><a href="'.$addr.'/messages.php"><img src="'.$addr.'/imgs/message.gif" /> Inbox</a></li>
					<li><a onclick="logoutFunction()" style="cursor:pointer"><img src="'.$addr.'/imgs/key.png" /> Logout</a></li>
					</ul>
				
				';
	
	// If not logged in
	}else if(!isset($m_username)){
		$personal .= '
			<ul>
			<li><a href="'.$addr.'/register.php"><img src="'.$addr.'/imgs/member-profile.png" /> Create an Account</a></li>
			<li><a href="'.$addr.'/login.php"><img src="'.$addr.'/imgs/key.png" /> Login</a></li>
			</ul>
		';
	}



?>
